package com.github.interview.persistence;

import com.github.interview.model.EquityTransaction;
import java.util.List;

public interface EquityTransactionMapper {

    int insert(EquityTransaction record);

    EquityTransaction selectOne(EquityTransaction EquityTransaction);

    Integer selectMaxVersion(Integer tradeId);

    List<EquityTransaction> selectList(Integer tradeId);
}